package com.bedrock.project.inside.mapper;

import java.util.List;
import com.bedrock.project.inside.entity.WorkHourType;

/**
 * 工时分类Mapper接口
 * 
 * @author bedrock
 * @date 2020-04-22
 */
public interface WorkHourTypeMapper 
{
    /**
     * 查询工时分类
     * 
     * @param workHourTypeId 工时分类ID
     * @return 工时分类
     */
    public WorkHourType selectWorkHourTypeById(Long workHourTypeId);

    /**
     * 查询工时分类列表
     * 
     * @param workHourType 工时分类
     * @return 工时分类集合
     */
    public List<WorkHourType> selectWorkHourTypeList(WorkHourType workHourType);

    /**
     * 新增工时分类
     * 
     * @param workHourType 工时分类
     * @return 结果
     */
    public int insertWorkHourType(WorkHourType workHourType);

    /**
     * 修改工时分类
     * 
     * @param workHourType 工时分类
     * @return 结果
     */
    public int updateWorkHourType(WorkHourType workHourType);

    /**
     * 删除工时分类
     * 
     * @param workHourTypeId 工时分类ID
     * @return 结果
     */
    public int deleteWorkHourTypeById(Long workHourTypeId);

    /**
     * 批量删除工时分类
     * 
     * @param workHourTypeIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteWorkHourTypeByIds(Long[] workHourTypeIds);
}
